<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block  title%}Blog_home{% endblock  title%}</title>

    {{ bootstrap.load_css() }}
</head>
<body>

    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
        <a class="navbar-brand" href="#">博客系统</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
          <div class="navbar-nav">
            <a class="nav-link active" href="{{ url_for('index') }}">首页 <span class="sr-only">(current)</span></a>
            <a class="nav-link" href="{{ url_for('new_post') }}">新建博客</a>
            <a class="nav-link" href="#">About</a>
          </div>
        </div>
      </nav>

    <div class="container">
        {% block content %}{% endblock content %}
    </div>
    {{ bootstrap.load_js() }}
</body>

<!-- <footer>
  Powered by penghui.wei
</footer> -->

</html>